package org.particlethink.response;

import io.swagger.v3.oas.annotations.media.Schema;
import org.particlethink.entry.OrderStatus;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class OrderStatusCountResponse {
    @Schema(description = "待发货数量")
    private Integer UnshippedCount;
    @Schema(description = "进行中数量")
    private Integer InProgressCount;
    @Schema(description = "已完成数量")
    private Integer DoneCount;
    @Schema(description = "异常退回数量")
    private Integer RefuseCount;

    public OrderStatusCountResponse(Integer unshippedCount, Integer inProgressCount, Integer doneCount, Integer refuseCount) {
        DoneCount = doneCount == null ? 0 : doneCount;
        InProgressCount = inProgressCount == null ? 0 : inProgressCount;
        UnshippedCount = unshippedCount == null ? 0 : unshippedCount;
        RefuseCount = refuseCount == null ? 0 : refuseCount;
    }


    public Integer getUnshippedCount() {
        return UnshippedCount;
    }

    public void setUnshippedCount(Integer unshippedCount) {
        UnshippedCount = unshippedCount;
    }

    public Integer getInProgressCount() {
        return InProgressCount;
    }

    public void setInProgressCount(Integer inProgressCount) {
        InProgressCount = inProgressCount;
    }

    public Integer getDoneCount() {
        return DoneCount;
    }

    public void setDoneCount(Integer doneCount) {
        DoneCount = doneCount;
    }

    public Integer getRefuseCount() {
        return RefuseCount;
    }

    public void setRefuseCount(Integer refuseCount) {
        RefuseCount = refuseCount;
    }
}
